home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 1 / Amiga Tools.iso / egs-tools / egs_dev-disk / egsdemos / egsexamples / requester / file / global.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-06  |  2.4 KB  |  103 lines

  1. /*
  2. ** Autor: Markus van Kempen
  3. ** Date : 18. Dezember 1992
  4. **
  5. ** Global Variablen & Structure
  6. **
  7. **
  8. ** See myopen.c
  9. **
  10. **/
  11.  
  12. #include "includes.c"
  13. #include "protos.h"
  14. /*
  15. **    DEFINE's
  16. **
  17. */
  18.  
  19. /**** Define's for Window *****/
  20.  
  21. /*
  22. **   Window system Gadgets
  23. **
  24. */
  25.  
  26. #define myWinGtmp (EI_WINDOWDRAG  | EI_WINDOWSIZE )
  27. #define myWinGads (EI_WINDOWCLOSE | EI_WINDOWBACK | myWinGtmp )
  28. #define mywf1     (EI_FRONTBACKGADGET | EI_WINDOWCENTER)
  29. #define mywf2     (EI_SIZEBBOTTOM | EI_GIMMEZEROZERO | mywf1)
  30. #define myWinFlags  (EI_WINDOWACTIVE | EI_WINDOW_MENULOCAL | mywf2)
  31. #define myif      (EI_iGADGETUP | EI_iMENUPICK | EI_iSIZEVERIFY)
  32. #define myEdcmpFlags  (EI_iCLOSEWINDOW | EI_iNEWSIZE | myif)
  33.  
  34. /*
  35. **
  36. **  Global Variblen
  37. **
  38. */
  39.  
  40. int                 dummy;
  41. EI_MenuPtr          Menu        =NULL;
  42. EG_EFontPtr         FontforMenu =NULL;
  43. EG_EFontPtr         FontforGad  =NULL;
  44. EG_EFontPtr         FontforScr  =NULL;
  45. struct EI_Window    *Window     =NULL;
  46. ER_SimpleReqPtr     ErrorReq    =NULL;
  47. EB_GadContext       con         =NULL;
  48.  
  49. /*
  50. **  myopen()
  51. */
  52.  
  53. struct OpenStructTyp
  54. {
  55.     ULONG* Var;
  56.     char * Name;
  57.     ULONG  Version;
  58. };
  59.  
  60. /*
  61.  * The EGS Lib-Bases
  62.  *
  63.  */
  64.  
  65. struct Library *EGSBase;
  66. struct Library *EGSBlitBase;
  67. struct Library *EGSLayersBase;
  68. struct Library *EGSGfxBase;
  69. struct Library *EGSIntuiBase;
  70. struct Library *EGBBase;
  71. struct Library *EGSRequestBase;
  72. struct Library *EGBMenuSelectBase;
  73. struct Library *EGBRadioBase;
  74. struct Library *EGBScrollBase;
  75. struct Library *EGBSelectBase;
  76. struct Library *EGBSetBase;
  77. struct Library *EGBTextInfoBase;
  78.  
  79. /********************************************/
  80.  
  81. struct OpenStructTyp OpenStruct[] =
  82. {
  83.   { (ULONG*) &EGSBase          , "egs.library",0               },
  84.   { (ULONG*) &EGSBlitBase      , "egsblit.library",0           },
  85.   { (ULONG*) &EGSLayersBase    , "egslayers.library",0         },
  86.   { (ULONG*) &EGSGfxBase       , "egsgfx.library",0            },
  87.   { (ULONG*) &EGSIntuiBase     , "egsintui.library",0          },
  88.   { (ULONG*) &EGBBase          , "egsgadbox.library",0         },
  89.   { (ULONG*) &EGSRequestBase   , "egsrequest.library",0         },
  90.   { (ULONG*) &EGBMenuSelectBase, "egb/gbmenuselect.library",0  },
  91.   { (ULONG*) &EGBRadioBase     , "egb/gbradio.library",0       },
  92.   { (ULONG*) &EGBScrollBase    , "egb/gbscrollbox.library",0   },
  93.   { (ULONG*) &EGBSelectBase    , "egb/gbselect.library",0      },
  94.   { (ULONG*) &EGBSetBase       , "egb/gbsets.library",0        },
  95.   { (ULONG*) &EGBTextInfoBase  , "egb/gbtextinfo.library",0    },
  96.   { 0L,0L,0L }
  97. };
  98.  
  99.  
  100.  
  101.  
  102.  
  103.